home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Tutorial Material
/
Zone Tutorial
/
Structure Examples
/
1. Fractal
next >
Wrap
Lisp/Scheme
|
1998-10-26
|
471b
|
31 lines
; FRACTAL - structure example
(setq tonal (activate-tonality
(overtone-series 1 12 1 '(c 2))))
(setq mat (gen-noise-brownian 9 0.4 0.4))
(setq mel (vector-to-symbol a x mat))
(setq rhy (vector-to-list (vector-round (get-tick '1/16) (get-tick '1/2) mat)))
(def-symbol
sound mel
)
(def-length
sound rhy
)
(def-zone
sound (make-zone rhy)
)
(def-tonality
sound tonal
)
(compile-instrument-p "ccl;output:" "song"
sound
)